package com.ronri.ams.bean;

import java.util.List;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/18
 * 历史：
 */
public class taskListBean {

    /**
     * code : 0
     * data : {"page":1,"pageSize":5,"records":1,"rowBegin":1,"rowEnd":5,"rows":[{"project_id":54,"task_id":30,"region_code":"3204","section":"2,3,4","breed":"1209,1362,1539","total_num":246,"complete_num":2,"task_name":"江苏省常州市_屠宰场,收储运环节,批发市场_鲜蛋,蔬菜类,水果类_246","region_name":"江苏省常州市","section_name":"屠宰场,收储运环节,批发市场","breed_name":"鲜蛋,蔬菜类,水果类","dept_name":"江苏省农业检测中心","end_date":"2017-06-10"}],"total":1}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * page : 1
         * pageSize : 5
         * records : 1
         * rowBegin : 1
         * rowEnd : 5
         * rows : [{"project_id":54,"task_id":30,"region_code":"3204","section":"2,3,4","breed":"1209,1362,1539","total_num":246,"complete_num":2,"task_name":"江苏省常州市_屠宰场,收储运环节,批发市场_鲜蛋,蔬菜类,水果类_246","region_name":"江苏省常州市","section_name":"屠宰场,收储运环节,批发市场","breed_name":"鲜蛋,蔬菜类,水果类","dept_name":"江苏省农业检测中心","end_date":"2017-06-10"}]
         * total : 1
         */

        private int page;
        private int pageSize;
        private int records;
        private int rowBegin;
        private int rowEnd;
        private int total;
        private List<RowsBean> rows;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getRecords() {
            return records;
        }

        public void setRecords(int records) {
            this.records = records;
        }

        public int getRowBegin() {
            return rowBegin;
        }

        public void setRowBegin(int rowBegin) {
            this.rowBegin = rowBegin;
        }

        public int getRowEnd() {
            return rowEnd;
        }

        public void setRowEnd(int rowEnd) {
            this.rowEnd = rowEnd;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * project_id : 54
             * task_id : 30
             * region_code : 3204
             * section : 2,3,4
             * breed : 1209,1362,1539
             * total_num : 246
             * complete_num : 2
             * task_name : 江苏省常州市_屠宰场,收储运环节,批发市场_鲜蛋,蔬菜类,水果类_246
             * region_name : 江苏省常州市
             * section_name : 屠宰场,收储运环节,批发市场
             * breed_name : 鲜蛋,蔬菜类,水果类
             * dept_name : 江苏省农业检测中心
             * end_date : 2017-06-10
             */

            private int project_id;
            private int task_id;
            private int wait_num;
            private String region_code;
            private String section;
            private String breed;
            private int total_num;
            private int complete_num;
            private String task_name;
            private String region_name;
            private String section_name;
            private String breed_name;
            private String dept_name;
            private String end_date;

            public int getProject_id() {
                return project_id;
            }

            public void setProject_id(int project_id) {
                this.project_id = project_id;
            }

            public int getTask_id() {
                return task_id;
            }

            public void setTask_id(int task_id) {
                this.task_id = task_id;
            }

            public String getRegion_code() {
                return region_code;
            }

            public void setRegion_code(String region_code) {
                this.region_code = region_code;
            }

            public String getSection() {
                return section;
            }

            public void setSection(String section) {
                this.section = section;
            }

            public String getBreed() {
                return breed;
            }

            public void setBreed(String breed) {
                this.breed = breed;
            }

            public int getTotal_num() {
                return total_num;
            }

            public void setTotal_num(int total_num) {
                this.total_num = total_num;
            }

            public int getComplete_num() {
                return complete_num;
            }

            public void setComplete_num(int complete_num) {
                this.complete_num = complete_num;
            }

            public String getTask_name() {
                return task_name;
            }

            public void setTask_name(String task_name) {
                this.task_name = task_name;
            }

            public String getRegion_name() {
                return region_name;
            }

            public void setRegion_name(String region_name) {
                this.region_name = region_name;
            }

            public String getSection_name() {
                return section_name;
            }

            public void setSection_name(String section_name) {
                this.section_name = section_name;
            }

            public String getBreed_name() {
                return breed_name;
            }

            public void setBreed_name(String breed_name) {
                this.breed_name = breed_name;
            }

            public String getDept_name() {
                return dept_name;
            }

            public void setDept_name(String dept_name) {
                this.dept_name = dept_name;
            }

            public String getEnd_date() {
                return end_date;
            }

            public void setEnd_date(String end_date) {
                this.end_date = end_date;
            }

            public void SetWait(int a){
                wait_num = a;
            }
            public int GetWait(){
                return wait_num;
            }
        }
    }
}
